home *** CD-ROM | disk | FTP | other *** search
/ Internet Surfer: Getting Started / Internet Surfer - Getting Started (Wayzata Technology)(7231)(1995).bin / pc / textfile / mac_faqs / x_faq / part1 next >
Encoding:
Internet Message Format  |  1995-01-01  |  64.0 KB

  1. Xref: bloom-picayune.mit.edu comp.windows.x:61854 news.answers:4486
  2. Newsgroups: comp.windows.x,news.answers
  3. Path: bloom-picayune.mit.edu!enterpoop.mit.edu!eff!sol.ctr.columbia.edu!caen!uunet!visual!dbl
  4. From: dbl@visual.com (David B. Lewis)
  5. Subject: comp.windows.x Frequently Asked Questions (FAQ) 1/4 
  6. Message-ID: <1992Dec8.145028.7424@visual.com>
  7. Followup-To: poster
  8. Summary: useful information about the X Window System
  9. Reply-To: faq%craft@uunet.uu.net (X FAQ maintenance address)
  10. Organization: Visual
  11. Date: Tue, 8 Dec 92 14:50:28 GMT
  12. Approved: news-answers-request@MIT.Edu
  13. Expires: Sun, 03 Jan 1993 00:00:00 GMT
  14. Lines: 1224
  15.  
  16. Archive-name: x-faq/part1
  17. Last-modified: 1992/12/07
  18.  
  19. This article and several following contain the answers to some Frequently Asked 
  20. Questions (FAQ) often seen in comp.windows.x. It is posted to help reduce 
  21. volume in this newsgroup and to provide hard-to-find information of general 
  22. interest.
  23.  
  24.         Please redistribute this article!
  25.  
  26. This article includes answers to the following questions, which are loosely
  27. grouped into categories. Questions marked with a + indicate questions new to 
  28. this issue; those with significant changes of content since the last issue are 
  29. marked by !:
  30.  
  31.   0)  TOPIC: BASIC INFORMATION SOURCES AND DEFINITIONS
  32.   1)  What books and articles on X are good for beginners?
  33.   2)! What courses on X and various X toolkits are available?
  34.   3)! What conferences on X are coming up?
  35.   4)  What X-related public mailing lists are available?
  36.   5)  How can I meet other X developers? 
  37.   6)  What related FAQs are available?
  38.   7)  How do I ask a net-question so as to maximize helpful responses?
  39.   8)! What publications discussing X are available?
  40.   9)  What are these common abbreviations/acronyms?
  41.  10)  What is the ICCCM? (How do I write X-friendly applications?)
  42.  11)  What is the X Consortium, and how do I join?
  43.  12)  Just what are OPEN LOOK and Motif?
  44.  13)  Just what is OpenWindows?
  45.  14)  Just what is DECWindows?
  46.  15)  What is PEX?
  47.  16)  What is "low-bandwidth X" (LBX)? XRemote? PPP? SLIP? CSLIP?
  48.  17)  TOPIC: USING X IN DAY-TO-DAY LIFE
  49.  18)! What are all these different window managers?
  50.  19)  Why does my X session exit when I kill my window manager (sic)?
  51.  20)  Can I save the state of my X session, like toolplaces does?
  52.  21)  How do I use another window manager with DEC's session manager?
  53.  22)  How do I change the keyboard auto-repeat rate?
  54.  23)  How do I remap the keys on my keyboard to produce a string?
  55.  24)! How do I make a screendump or print my application?
  56.  25)! How do I make a color PostScript screendump of the X display?
  57.  26)  How do I make a screendump including the X cursor?
  58.  27)! How do I convert/view Mac/TIFF/GIF/Sun/PICT/img/FAX images in X?
  59.  28)  How can I change the titlebar of my xterm window?
  60.  29)  Where can I find the xterm control sequences?
  61.  30)  Why does the R3 xterm, et al, fail against the R4 server?
  62.  31)  How can I use characters above ASCII 127 in xterm ?
  63.  32)  Why are my xterm menus so small?
  64.  33)  How can I print the current selection?
  65.  34)  How does Xt use environment variables in loading resources?
  66.  35)  How to I have the R4 xdm put a picture behind the log-in window?
  67.  36)  Why isn't my PATH set when xdm runs my .xsession file?
  68.  37)  How do I keep my $DISPLAY when I rlogin to another machine?
  69.  38)  How can I design my own font?
  70.  39)  Why does adding a font to the server not work (sic)?
  71.  40)  How do I convert a ".snf" font back to ".bdf" font?
  72.  41)  What is a general method of getting a font in usable format?
  73.  42)  How do I use DECwindows fonts on my non-DECwindows server?
  74.  43)  How do I add ".bdf" fonts to my DECwindows server?
  75.  44)  How can I set the backgroundPixmap resource in a defaults file?
  76.  45)  Why can't I override translations? Only the first item works.
  77.  46)  How can I have xclock or oclock show different timezones?
  78.  47)  I have xmh, but it doesn't work. Where can I get MH?
  79.  48)  Why am I suddenly unable to connect to my Sun X server?
  80.  49)  Why don't the R5 PEX demos work on my mono screen?
  81.  50)  How do I get my Sun Type-[45] keyboard fully supported by Xsun?
  82.  51)  How do I report bugs in X?
  83.  52)  Why do I get "Warning: Widget class version mismatch"?
  84.  53)  Where can I find a dictionary server for xwebster?
  85.  54)  TOPIC: OBTAINING X AND RELATED SOFTWARE AND HARDWARE
  86.  55)  Is X public-domain software?
  87.  56)  How compatible are X11R3, R4, and R5? What changes are there?
  88.  57)  Where can I get X11R5 (source and/or binaries)?
  89.  58)! Where can I get patches to X11R5?
  90.  59)  What is the xstuff mail-archive?
  91.  60)  Where can I get X11R4 (source and binaries)?
  92.  61)! Where can I get OSF/Motif?
  93.  62)! Does Motif work with X11R4? X11R5?
  94.  63)  Where can I get toolkits implementing OPEN LOOK?
  95.  64)  Where can I get other X sources? (including R5 modifications)
  96.  65)! Where can I get interesting widgets?
  97.  66)  What is the current state of the world in X terminals?
  98.  67)  Where can I get an X server with a touchscreen or lightpen?
  99.  68)  Where can I get an X server on a PC (DOS or Unix)?
  100.  69)  Where can I get an X server on a Macintosh running MacOS?
  101.  70)  Where can I get X for the Amiga?
  102.  71)  Where can I get a fast X server for a workstation?
  103.  72)  Where can I get a server for my high-end Sun graphics board?
  104.  73)  Where can I get an "X terminal" server for my low-end Sun 3/50?
  105.  74)  What terminal emulators other than xterm are available?
  106.  75)! Where can I get an X-based editor or word-processor?
  107.  76)  Where can I get an X-based mailer?
  108.  77)! Where can I get an X-based paint/draw program?
  109.  78)  Where can I get an X-based plotting program?
  110.  79)  Where can I get an X-based spreadsheet?
  111.  80)  Where can I get X-based project-management software?
  112.  81)  Where can I get an X-based PostScript previewer?
  113.  82)  Where can I get an X-based GKS package?
  114.  83)  Where can I get an X-based PEX package?
  115.  84)! Where can I get an X-based TeX or DVI previewer?
  116.  85)  Where can I get an X-based troff previewer?
  117.  86)! Where can I get a WYSIWYG interface builder?
  118.  87)  Where can I find X tools callable from shell scripts?
  119.  88)  Where can I get an X-based debugger?
  120.  89)  How can I "tee" an X program identically to several displays?
  121.  90)  TOPIC: BUILDING THE X DISTRIBUTION [topic needs updating to R5]
  122.  91)  What's a good source of information on configuring the X build?
  123.  92)  Why doesn't my Sun with a cg6 work with R5?
  124.  93)  Why doesn't my Sun with SunOS 4.1 know about _dlsym, etc.?
  125.  94)  What is this strange problem building X clients on SunOS 4.1.2?
  126.  95)  Why can't gcc compile X11R4 on my SPARC?
  127.  96)  What are these I/O errors running X built with gcc?
  128.  97)  What are these problems compiling X11R4 on the older Sun3?
  129.  98)  What are these problems compiling the X server on SunOS 4.1.1?
  130.  99)  What are these problems using R4 shared libraries on SunOS 4?
  131. 100)  Can OLIT programs run with R5 Xt? (_XtQString undefined)
  132. 101)  How do I get around the SunOS 4.1 security hole?
  133. 102)  TOPIC: BUILDING X PROGRAMS 
  134. 103)  What is Imake?
  135. 104)  Where can I get imake?
  136. 105)  I have a program with an Imakefile but no Makefile. What to do?
  137. 106)  Why can't I link to the Xlib shape routines?
  138. 107)  What are these problems with "_XtInherit not found" on the Sun?
  139. 108)  Why can't I compile my R3 Xaw contrib programs under the new X?
  140. 109)  TOPIC: PROGRAMMING PROBLEMS AND PUZZLES
  141. 110)  Why doesn't my program get the keystrokes I select for (sic)?
  142. 111)  How do I figure out what window manager is running?
  143. 112)  Is there a skeleton X program available?
  144. 113)  Why does XtGetValues not work for me (sic)?
  145. 114)  Why don't XtConfigureWidget/XtResizeWidget/XtMoveWidget work?
  146. 115)  Why isn't there an XtReparentWidget call like XReparentWindow?
  147. 116)  I'm writing a widget and can't use a float as a resource value.
  148. 117)  Is this a memory leak in the X11R4 XtDestroyWidget()?!
  149. 118)  Are callbacks guaranteed to be called in the order registered?
  150. 119)  Why doesn't XtDestroyWidget() actually destroy the widget?
  151. 120)  How do I query the user synchronously using Xt?
  152. 121)  How do I determine the name of an existing widget?
  153. 122)  What widget is appropriate to use as a drawing canvas?
  154. 123)  Why do I get a BadDrawable error drawing to XtWindow(widget)?
  155. 124)  Why do I get a BadMatch error when calling XGetImage?
  156. 125)  How can my application tell if it is being run under X?
  157. 126)! How do I make a "busy cursor" while my application is computing?
  158. 127)  How do I fork without hanging my parent X program?
  159. 128)  Can I make Xt or Xlib calls from a signal handler?
  160. 129)  What are these "Xlib sequence lost" errors?
  161. 130)  How can my Xt program handle socket, pipe, or file input?
  162. 131)  How do I simulate a button press/release event for a widget?
  163. 132)  Why doesn't anything appear when I run this simple program?
  164. 133)  What is the difference between a Screen and a screen?
  165. 134)  Can I use C++ with X11? Motif? XView?
  166. 135)! Where can I obtain alternate language bindings to X?
  167. 136)  Can XGetWindowAttributes get a window's background pixel/pixmap?
  168. 137)  How do I create a transparent window?
  169. 138)  Why doesn't GXxor produce mathematically-correct color values?
  170. 139)  Why does every color I allocate show up as black?
  171. 140)  Why can't my program get a standard colormap?
  172. 141)  Why does the pixmap I copy to the screen show up as garbage? 
  173. 142)  How do I check whether a window ID is valid?
  174. 143)  Can I have two applications draw to the same window?
  175. 144)  Why can't my program work with tvtwm or swm?
  176. 145)  How do I keep a window from being resized by the user?
  177. 146)  How do I keep a window in the foreground at all times?
  178. 147)  How do I make text and bitmaps blink in X?
  179. 148)  How do I render rotated text?
  180. 149)  What is the X Registry? (How do I reserve names?)
  181.  
  182. If you have suggestions or corrections for any of these answers or any 
  183. additional information, please send them directly to uunet!craft!faq;
  184. the information will be included in the next revision (or possibly the one 
  185. after that; thanks for the many suggestions which haven't been incorporated 
  186. yet). 
  187.  
  188. This version of the FAQ is in the process of having R3 information replaced
  189. by R5 information.
  190.  
  191. This posting is intended to be distributed at approximately the beginning of 
  192. each month. New versions are archived on export.lcs.mit.edu and are also 
  193. available from mail-server@pit-manager.mit.edu (send "help").
  194.  
  195. The information contained herein has been gathered from a variety of sources. 
  196. In many cases attribution has been lost; if you would like to claim 
  197. responsibility for a particular item, please let me know. 
  198.  
  199. Conventions used below: telephone numbers tend to be Bell-system unless 
  200. otherwise noted; prices on items are not included; email addresses are those
  201. that work from the US.
  202.  
  203. All trademarks are the property of their respective owners.
  204.  
  205. ----------------------------------------------------------------------
  206. Subject:   0)  TOPIC: BASIC INFORMATION SOURCES AND DEFINITIONS
  207. ----------------------------------------------------------------------
  208. Subject:   1)  What books and articles on X are good for beginners?
  209.  
  210.     Ken Lee of the DEC Western Software Laboratory (klee@wsl.dec.com) 
  211. regularly posts to comp.windows.x and ba.windows.x a bibliography containing 
  212. cites of all known reference books and how-to manuals and also cites of 
  213. selected technical articles on X and X programming; it is ftp-able as 
  214.     export.lcs.mit.edu:/contrib/Xbibliography and 
  215.     gatekeeper.dec.com:/pub/X11/contrib/Xbibliography
  216.  
  217. Here is an unordered set of the reference books and tutorials most useful for
  218. beginners; most appear on that list [comments are gathered from a variety of 
  219. places and are unattributable]:
  220.  
  221. Asente, Paul J., and Swick, Ralph R., "X Window System Toolkit, The Complete
  222. Programmer's Guide and Specification", Digital Press, 1990.  The bible on Xt. A 
  223. treasury of information, excellent and invaluable.  Distributed by Digital 
  224. Press, ISBN 1-55558-051-3, order number EY-E757E-DP; and by Prentice-Hall, 
  225. ISBN 0-13-972191-6. Also available through DEC Direct at 1-800-DIGITAL. 
  226. [The examples are on export.lcs.mit.edu in contrib/ and on gatekeeper.dec.com 
  227. (16.1.0.2) in pub/X11/contrib as asente-swick.examples.tar.Z.  They were also 
  228. posted to comp.sources.x as xt-examples/part0[1-5].]
  229.  
  230. Jones, Oliver, Introduction to the X Window System, Prentice-Hall, 1988, 1989.
  231. ISBN 0-13-499997-5. An excellent introduction to programming with Xlib.  
  232. Written with the programmer in mind, this book includes many practical tips 
  233. that are not found anywhere else. This book is not as broad as the O'Reilly 
  234. Xlib tutorial, but Jones is an experienced X programmer and this shows in the 
  235. quality and depth of the material in the book. Originally written for X11R1, 
  236. recent printings have included corrections and additions and current material.
  237.  
  238. Young, Doug. "The X Window System: Applications and Programming with Xt (Motif 
  239. Version)," Prentice Hall, 1989 (ISBN 0-13-497074-8). The excellent tutorial 
  240. "X Window Systems Programming and Applications with Xt," (ISBN 0-13-972167-3) 
  241. updated for Motif. [The examples are available on export; the ones from the 
  242. Motif version are in ~ftp/contrib/young.motif.tar.Z.]
  243.  
  244. Young, Doug and John Pew, "The X Window System: Programming and Applications 
  245. with Xt, OPEN LOOK Edition" (ISBN 0-13-982992-X). The tutorial rewritten for 
  246. OLIT, with new examples and drag/drop information. [Examples are on export in
  247. youg.olit.tar.Z.]
  248.  
  249. Heller, Dan. "Motif Programmers Manual". The 6th Volume in the O'Reilly series
  250. covers Motif application programming; it's full of good examples. With Motif
  251. reference pages. (ISBN 0-9937175-70-6.)  [The examples are available on uunet
  252. in comp.sources.x and nutshell archives.]
  253.  
  254. Scheifler, Robert, and James Gettys, with Jim Flowers and David Rosenthal, "X 
  255. Window System: The Complete Reference to Xlib, X Protocol, ICCCM, XLFD, X 
  256. Version 11, Release 5, Third Edition," Digital Press, 1992. "The Bible" in its 
  257. latest revision", an enhanced version of X documentation by the authors of the 
  258. Xlib documentation. This is the most complete published description of the X 
  259. programming interface and X protocol. It is the primary reference work and is 
  260. not introductory tutorial documentation; additional tutorial works will usually
  261. be needed by most new X programmers.  Digital Press order EY-J802E-DP, ISBN 
  262. 0-13-971201-1.
  263.      
  264. Nye, Adrian, "Xlib Programming Manual, Volume 1" and "Xlib Reference Manual, 
  265. Volume 2," O'Reilly and Associates, 1988. A superset of the MIT X 
  266. documentation; the first volume is a tutorial with broad coverage of Xlib, and 
  267. the second contains reference pages for Xlib functions and many useful 
  268. reference appendices.  ISBN 0-937175-26-9 (volume 1) and ISBN 0-937175-27-7 
  269. (volume 2).  [A version updated for X11R4 is available (4/90).]
  270.  
  271. Nye, Adrian, and Tim O'Reilly, "X Toolkit Programming Manual, Volume 4,"
  272. O'Reilly and Associates, 1989. The folks at O'Reilly give their comprehensive
  273. treatment to programming with the MIT Intrinsics; R4 versions are now
  274. available, as is a Motif 1.1 version (Volume 4M).
  275.  
  276. O'Reilly, Tim, ed.,  "X Toolkit Reference Manual, Volume 5," O'Reilly and 
  277. Associates, 1989.  A professional reference manual for the MIT X11R3 Xt; some 
  278. information on X11R4 is included.
  279.  
  280. Mansfield, Niall. "The X Window System: A User's Guide," Addison-Wesley, 1989.
  281. A tutorial introduction to using X, now upgraded for R4. ISBN 0-201-51341-2.
  282.  
  283. Quercia, Valerie and Tim O'Reilly. "X Window System User's Guide," O'Reilly and
  284. Associates, 1989. A tutorial introduction to using X. ISBN 0-937175-36-6.
  285. Also available in R4 and Motif flavors.
  286.  
  287. (Prentice-Hall ordering is 201-767-5937. O'Reilly ordering is 800-998-9938.)
  288.  
  289. In addition, check the X11R4 and X11R5 core distribution in doc/tutorials for 
  290. some useful papers and tutorials, particularly the file answers.txt.  "Late 
  291. Night's Top Ten X11 Questions" by Dave Lemke (lemke@ncd.com) and Stuart Marks 
  292. (smarks@sun.com) answers other common questions and some of these here in more
  293. detail.
  294.  
  295. New R5 versions of the O'Reilly references (not yet Volume 6) are now available
  296. [8/92].  A single volume, "Programmer's Supplement for R5" by David Flanagan, 
  297. provides an overview of new R5 features; it includes man pages for Xlib, Xt, 
  298. and Xmu. [ISBN  0-937175-86-2]
  299.  
  300. ----------------------------------------------------------------------
  301. Subject:   2)! What courses on X and various X toolkits are available?
  302.  
  303.     Advanced Computing Environments periodically offers at least a two-day
  304. Introduction course. Contact Susie Karlson at 415-941-3399 for information.
  305.  
  306.     AT&T offers training in Xlib and in the Xol set. Contact AT&T Corporate
  307. Education & Training for more info; 1-800-TRAINER in the USA.
  308.  
  309.     Communica Software Consultants offers three-day hands-on courses in X 
  310. designed for the X Window system developer and programmer. Contact Chris 
  311. Clarkson, telephone 61 8 4101442, e-mail communica@communica.oz.au. [5/91]
  312.  
  313.     Cora Computer Technologies (516-485-7343) offers several courses.
  314.  
  315.     GHCT offers a one week lecture/lab course for programmmers designed by
  316. Douglas Young based on his book "The X Window System: Programming and Applica-
  317. tions with Xt, OSF/Motif Edition". Information: Brian Stell (415-966-8805 or
  318. ghct!brian@sgi.com).
  319.  
  320.     GHG offers a range of courses on X and Motif. Information: 713-488-8806 
  321. or training-info@ghg.hou.tx.us.
  322.  
  323.     Hands On Learning has live training and self-paced video workshops on 
  324. topics such as using and/or programming X, Xlib, Xm, Xt, and widget-writing. 
  325. Information: 617-272-0088, 800-248-9133.
  326.  
  327.     Hewlett-Packard (1-800-HPCLASS; or contact your local HP center) offers
  328. a 2-day "Introduction to X", a 5-day Xlib course, a 1-day Xt and Motif 1.1 
  329. seminar, and a 5-day Motif lab course.
  330.  
  331.     Integrated Computer Solutions, Inc., offers several multi-day, hands-on
  332. courses on X, Xt, and the Xaw and Motif widget sets, in particular. Information
  333. is available at 617-621-0060 and info@ics.com.
  334.  
  335.     Intelligent Visual Computing teaches several lab courses on-site for
  336. Motif and XView. IVC is at 1-800-776-2810 or +1 919-481-1353 or at info@ivc.com.
  337.  
  338.     Iris Computing Laboratories offers five-day Xlib and Xt courses.
  339. Info: +1-505-988-2670 or info@spectro.com.
  340.  
  341.     IXI Limited (+44 223 462 131) offers regular X training courses for 
  342. both programmers and non-technical managers. See also: Unipalm, below.
  343.  
  344.     Learning Tree International offers a four-day course in X Window System
  345. applications development, including Xlib and some information on Motif.  For 
  346. more info call 800-824-9155 (213-417-3484); 613-748-7741 in Canada. Courses are
  347. offered in major North American cities; also in London, Stockholm, Tokyo, and 
  348. elsewhere.
  349.  
  350.     Lurnix offers 4-day "type-along courses" on Xt; the course is being
  351. ported from Xaw to Xm. Information is available at 800-433-9337 (in CA: -9338).
  352.  
  353.     Mitch Trachtenberg and Associates offers regular 5-day lab courses on
  354. programming with OSF/Motif, usually in but not limited to Cambridge, MA. 
  355. Info: +1 617-225-0440, info@mta.com.
  356.  
  357.     Non Standard Logics (+33 (1) 43 36 77 50; requests@nsl.fr) offers
  358. courses on programming with Xlib, Motif, and creating Motif widgets.
  359.  
  360.     OSF Educational Services (617-621-8778) offers one-day seminars and 
  361. one-week Motif lab courses.
  362.  
  363.     John A. Pew offers a 5-day course on OLIT, possibly based on his book
  364. on that subject; 408-224-5739.
  365.  
  366.     SCO (+44 923 816344, scol-info@sco.COM) offers training for its Open 
  367. Desktop (Motif) environment in the UK and Europe.
  368.  
  369.     Software Pundits (617-270-0639) offers a range of courses.
  370.  
  371.     Technology Exchange (617-944-3700) offers a 4-day Xlib/Xt/Motif course.
  372.  
  373.     TeleSoft is now offering a 1-day plus 3-day seminar on X and Motif.
  374. Information: Bruce Sherman (619-457-2700, bds@telesoft.com).
  375.  
  376.     Unipalm XTech offers OSF's 5-day Motif course and a 1-day overview on 
  377. X.  Information: Unipalm Training at +44 952  211797, xtech@unipalm.co.uk.
  378.  
  379.     Various other vendors are also beginning to offer X training, usually 
  380. specific to a proprietary toolkit or to Xt and a proprietary widget set: DEC 
  381. is offering Xlib courses; Sun offers an XView course.
  382.  
  383.     Various universities are offering short X courses or overviews: UCLA,
  384. Dartmouth, University of Lowell, University of Canberra (within Australia: 
  385. 062-522422) ... 
  386.     UC Berkeley Extension will have a one week X/Motif class for 
  387. programmers in San Francisco starting on July 29.  The class will have a 
  388. hands-on lab. For more information contact UCBX at 415 323 8141.
  389.  
  390.     Among the best places to find courses are at the various Unix 
  391. conferences -- Uniforum, Usenix, Unix Expo, Xhibition, the MIT X Technical
  392. Conference, the ACM tutorial weeks, &c.
  393.  
  394.     In addition, the X Consortium posts approximately quarterly a list of
  395. unendorsed speakers and consultants who can provide talks on a variety of X 
  396. topics.
  397.  
  398. ----------------------------------------------------------------------
  399. Subject:   3)! What conferences on X are coming up?
  400.  
  401.     The MIT X Technical Conference is typically held in January in Boston.
  402. The 7th will be held January 18-20, 1993 at the Sheraton Boston Hotel and 
  403. Towers.  Registration information is available from 
  404. registration@expo.lcs.mit.edu.
  405.  
  406.     The XWorld Conference and Exhibition includes tutorials, panels, 
  407. presentations and vendor exhibits. The '93 show is April 19-23 in New York 
  408. City.  Information: SIGS Publication Group at 212-274-0640.
  409.  
  410.     The Xhibition 93 X trade show and conference, with tutorials, panels, 
  411. presentations, and vendor exhibits, will be held at the San Jose Convention
  412. Center June 7-11, 1993.  Information: +1 617 621 0060, xhibit@ics.com.
  413.  
  414.     The European X User Group holds an annual conference which typically 
  415. includes includes paper presentations and a vendor exhibit. Information: 
  416. exug@unipalm.co.uk (?) or p.whitehead@cc.ic.ac.uk, +44 (0) 223 426534, 
  417. fax +44 (0) 223 420251.
  418.  
  419.     The Motif show is held in Washington to coincide with the FedUnix and 
  420. the Federal Open Systems Conference (usually December). Information: 
  421. motif@fedunix.org or paller@fedunix.org, 301-229-1062, fax 301-229-1063.
  422.  
  423.     Other trade shows -- UnixExpo, Uniforum, Siggraph -- show an increasing
  424. presence of X, including tutorials and exhibits.
  425.  
  426. ----------------------------------------------------------------------
  427. Subject:   4)  What X-related public mailing lists are available?
  428.  
  429.     The xpert mailing list is the general, public mailing list on X
  430. maintained by the X Consortium. The mailings are gatewayed, so xpert is almost 
  431. identical to the comp.windows.x Usenet newsgroup. 
  432.  
  433.     ***    If you get comp.windows.x, you don't need to     ***
  434.     ***    be added to the xpert mailing list.         ***
  435.  
  436.     Otherwise, you can join the list to receive X information 
  437. electronically. It is best to find a local distribution; perhaps someone within
  438. your company is already receiving the mailing. As a last resort, send mail to 
  439. xpert-request@expo.lcs.mit.edu with a valid return electronic address. 
  440.  
  441.     The xannounce mailing list carries major X announcements, such as new
  442. releases (including public patches from MIT), public reviews, adoption of 
  443. standards by the MIT X Consortium, and conference announcements.  It does NOT 
  444. carry advertisements, source code, patches, or questions.  If you already 
  445. receive the Usenet news group comp.windows.x.announce or the xpert mailing list,
  446. you don't need to be added to the xannounce mailing list.  Otherwise, to 
  447. subscribe, send a request to xannounce-request@expo.lcs.mit.edu. Note: Only 
  448. redistribution addresses will be accepted for this list -- i.e. no personal 
  449. addresses. If you wish to receive xannounce yourself, please contact your mail 
  450. administrator to set up a local redistribution list and to put you on it.  
  451.     comp.windows.x.apps is not gatewayed to a mailing list.
  452.  
  453.     In addition, the X Consortium sponsors these public lists:
  454.         bug-clx         CLX bug reports and discussions
  455.         x-ada           X and ada
  456.         x11-3d          people interested in X and 3d graphics
  457.         ximage          people interested in image processing and X
  458.         xvideo          discussion of video extensions for X
  459.     To subscribe to one of these lists, assuming no-one in your 
  460. organization already receives it, send mail to <list>-request@expo.lcs.mit.edu
  461. with the Subject line including the name of the LIST in caps and the request
  462. "addition request".  In the body of the message be sure to give an address for 
  463. your local distribution which is accessible from MIT (eddie.mit.edu).
  464.  
  465.     A mailing list for topics related to OPEN LOOK is sponsored by Greg
  466. Pasquariello of Unify corporation; send to openlook-request@unify.com (or
  467. openlook-request%unify@uunet.uu.net) for information. 
  468.     A mailing list for bugs in the publicly-available version of XView
  469. source, in particular, is sponsored by Sun; send for information to 
  470. xviewbug-trackers-request@sun.com. 
  471.     A mailing list for topics related to Motif is sponsored by Kee Hinckley
  472. of Alfalfa Software, Inc.; send to motif-request@alfalfa.com for information. 
  473. (This group is gatewayed to comp.windows.x.motif.)
  474.     A mailing list for topics related to the XPM pixmap-format is sponsored
  475. by Arnaud Le Hors of Group Bull; send to xpm-talk-request@sa.inria.fr for
  476. information. [1/91]
  477.     A mailing list discussing InterViews can be subscribed to by sending to 
  478. interviews-request@interviews.stanford.edu.
  479.     A mailing list (amiga-x11@nic.funet.fi) for topics related to the port 
  480. of X11 to the Amiga can be subscribed by sending to mailserver@nic.funet.fi a 
  481. message containing
  482.         Subject: Adding myself to AMIGA-X11
  483.         SUBS AMIGA-X11 Your Real Name
  484.     A mailing list discussing ParcPlace's (formerly Solbourne's) OI (Object
  485. Interface) toolkit can be subscribed to at oi-users-requests@bbn.com.
  486.     A mailing list discussing multi-threaded Xlib can be subscribed to at
  487. mt-xlib-request@xsoft.xerox.com.
  488.  
  489. ----------------------------------------------------------------------
  490. Subject:   5)  How can I meet other X developers? 
  491.  
  492.     O'Reilly and Associates sponsors a mailing list for the use of X user 
  493. group organizers; subscribe by sending to listserv@ora.com the message 
  494. "subscribe xgroups your@internet.address".
  495.  
  496.     Local area X user's groups are listed in Issue 4 of O'Reilly's X 
  497. Resource journal; a list may also be available from xug@ics.com.
  498.  
  499.     The French X User Group is called AFUX and is based in Sophia Antipolis
  500. by CERICS. Information can be obtained from Miss Vasseur or Miss Forest; BP 
  501. 148; 157, rue Albert Einstein; 06561 Valbonne Cedex; Phone: +33 93 95 45 00 / 
  502. 45 01; Fax: +33 93 95 48 57.  [10/90]
  503.  
  504.     The European X User Group was formed in 1989 to represent X users in 
  505. Europe.  It holds technical conferences at regular intervals. The EXUG also 
  506. publishes a regular newsletter which is distributed free of charge to members. 
  507. The EXUG also runs a email mailing list for members which is frequently used to
  508. address issues of European interest in X. The EXUG can be contacted at
  509. P.Whitehead@cc.ic.ac.uk, +44 (071) 225 8754, fax +44 (071) 823 9497.
  510.  
  511.     GXUGiV is the German X User's Group in Vorbereitung ("in preparation")
  512. being formed for X programmers and users; it is associated with the EXUG. All
  513. interested should contact Olaf Heimburger (+49 30 7 79 54 64; and at
  514. mcvax!unido!tub!olaf).
  515.  
  516. ----------------------------------------------------------------------
  517. Subject:   6)  What related FAQs are available?
  518.  
  519.     Liam R. E. Quin (lee@sq.sq.com) posts a FAQ on Open Look to 
  520. comp.windows.open-look.  
  521.     Jan Newmarch (jan@pandonia.canberra.edu.au) posts a FAQ on Motif to 
  522. comp.windows.x.motif.
  523.     Peter Ware (ware@cis.ohio-state.edu) posts a FAQ for
  524. comp.windows.x.intrinsics; it is on export in contrib/FAQ-Xt.
  525.     Art Mulder (art@cs.ualberta.ca) posts to comp.windows.x a FAQ on 
  526. maximizing the performance of X.
  527.     Steve Kotsopoulos (steve@ecf.toronto.edu) posts to comp.windows.x a FAQ
  528. about using X on Intel-based Unix systems.
  529.     The FAQ in alt.binaries.pictures contains information on viewing images
  530. with X and on massaging image formats.
  531.     The FAQ in comp.mail.mh (gatewayed to MH-users@ics.uci.edu) includes a 
  532. section on xmh.
  533.     The FAQ in comp.lang.lisp contains information on several interface
  534. tools and toolkits.
  535.     There exists a PEX/PHiGS FAQ.
  536.  
  537. ----------------------------------------------------------------------
  538. Subject:   7)  How do I ask a net-question so as to maximize helpful responses?
  539.  
  540.     When asking for help on the net or X mailing lists, be sure to include 
  541. all information about your setup and what you are doing.  The more specific you
  542. are, the more likely someone will spot an error in what you are doing.  Without
  543. all the details, people who want to help you often have to guess -- if they are
  544. able to respond at all.
  545.  
  546.     Always mention what version of X you are using and where you got it 
  547. from. If your server came from a different source as the rest of your X system,
  548. give details of that, too.  Give the machine type, operating system, and O/S 
  549. version for both the client and server machine.  It may also be appropriate to 
  550. mention the window manager, compiler, and display hardware type you are using.
  551.  
  552.     Then tell exactly what you are doing, exactly what happens, and what
  553. you expected/wanted to happen.  If it is a command that fails, include the 
  554. exact transcript of your session in the message.  If a program you wrote 
  555. doesn't work the way you expect, include as little of the source necessary 
  556. (just a small test case, please!) for readers to reproduce the problem.
  557.  
  558. ----------------------------------------------------------------------
  559. Subject:   8)! What publications discussing X are available?
  560.  
  561.     The trade magazines (Unix World, Unix Review, Computer Language, etc.)
  562. are publishing more articles on X.  Two X-specific publications include:
  563.  
  564.     - O'Reilly and Associates publishes "The X Resource: A Practical 
  565. Journal of the X Window System" (103 Morris St. #A, Sebastapol, CA 95472).  
  566. Editorial information: Adrian Nye, adrian@ora.com.
  567.  
  568.     - The X Journal is started bi-monthly publication September 1991 on a 
  569. variety of X topics. Subscription information: The X Journal, Subscriber 
  570. Services, Dept XXX, P.O. Box 3000, Denville, NJ 07834, USA. Editorial 
  571. information: editors%topgun@uunet.uu.net.
  572.  
  573. ----------------------------------------------------------------------
  574. Subject:   9)  What are these common abbreviations/acronyms?
  575.  
  576.     Xt: The X Toolkit Intrinsics is a library layered on Xlib which 
  577. provides the functionality from which the widget sets are built. An "Xt-based" 
  578. program is an application which uses one of those widget sets and which uses 
  579. Intrinsics mechanisms to manipulate the widgets.
  580.     Xmu: The Xmu library is a collection of Miscellaneous Utility functions
  581. useful in building various applications and widgets.
  582.     Xaw: The Athena Widget Set is the MIT-implemented sample widget set
  583. distributed with X11 source.
  584.     Xm: The OSF/Motif widget set from the Open Software Foundation; binary
  585. kits are available from many hardware vendors.
  586.     Xhp (Xw): The Hewlett-Packard Widget Set was originally based on R2++, 
  587. but several sets of patches exist which bring it up to R3, as it is distributed
  588. on the X11R4 tapes. Supplemental patches are available to use it with R4/R5.
  589.     CLX: The Common Lisp X Interface is a Common Lisp equivalent to Xlib.
  590.     XDMCP: The X Display Manager Protocol provides a uniform mechanism for 
  591. a display such as an X terminal to request login service from a remote host.
  592.     XLFD: The X Logical Font Description Conventions describes a standard
  593. logical font description and conventions to be used by clients so that they
  594. can query and access those resources.
  595.     RTFM: Common expert-speak meaning "please locate and consult the 
  596. relevant documentation -- Read the Forgotten Manual".
  597.     UTSL: A common expression meaning "take advantage of the fact that you 
  598. aren't limited by a binary license -- Use The Source, Luke".
  599.     API: Application-Programmer Interface. The function calls, etc., in
  600. a programming library.
  601.     BDF: Bitmap Distribution Format; a human-readable format for uncompiled X fonts.
  602.     GUI: graphical user interface.
  603.     UIL: the User Interface Language, part of OSF/Motif which lets 
  604. programmers specify a widget hierarchy in a simple "outline" form
  605.     WCL: the Widget Creation Language, a package which extends the 
  606. understanding of the Xt resource format such that a widget hierarchy and 
  607. actions on the widgets can be specified through the resources file
  608.     GIL: the file format put out by Sun's OpenWindows Developers Guide 3.0
  609.     UIMS: User Interface Management System
  610.  
  611. ----------------------------------------------------------------------
  612. Subject:  10)  What is the ICCCM? (How do I write X-friendly applications?)
  613.  
  614.     The Inter-Client Communication Conventions Manual is one of the 
  615. official X Consortium standards documents that define the X environment. It 
  616. describes the conventions that clients must observe to coexist peacefully with 
  617. other clients sharing the same server.  If you are writing X clients, you need 
  618. to read and understand the ICCCM,  in particular the sections discussing the 
  619. selection mechanism and the interaction between your client and the window 
  620. manager.  Get it either:
  621.     - as part of the R4 distribution from MIT
  622.     - in the later editions of the Scheifler/Gettys "X Window System" book
  623.     - as an appendix in the new version of O'Reilly's Volume 0, "X Protocol
  624. Reference Manual." A version in old copies of their Volume 1 is obsolete.
  625.     The version in the Digital Press book is much more readable, thanks to 
  626. the efforts of Digital Press's editors to improve the English and the 
  627. presentation.
  628.  
  629. [from David Rosenthal, 10/90]
  630.  
  631.     - the ICCCM was updated for R5; updates are published in O'Reilly's
  632. "Programmer's Supplement for Release 5". The complete document is on the R5
  633. tapes.
  634.  
  635.     Alternate definition: the ICCCM is generally the M in "RTFM" and is
  636. the most-important of the least-read X documents.
  637.  
  638. ----------------------------------------------------------------------
  639. Subject:  11)  What is the X Consortium, and how do I join?
  640.  
  641.     The MIT X Consortium was formed in January of 1988 to further the
  642. development of the X Window System and has as its major goal the promotion of 
  643. cooperation within the computer industry in the creation of standard software 
  644. interfaces at all layers in the X Window System environment.
  645.     MIT's role is to provide the vendor-neutral architectural and 
  646. administrative leadership required to make this work. Membership in the 
  647. Consortium open to any organization.  There are two categories of membership, 
  648. Member (for large organizations) and Affiliate (for smaller organizations).
  649.     Most of the Consortium's activities take place via electronic mail, 
  650. with meetings when required.  As designs and specifications take shape,
  651. interest groups are formed from experts in the participating organizations.  
  652. Typically a small multi-organization architecture team leads the design, with 
  653. others acting as close observers and reviewers.  Once a complete specification
  654. is produced, it may be submitted for formal technical review by the Consortium
  655. as a proposed standard.  The standards process typically includes public 
  656. review (outside the Consortium) and a demonstration of proof of concept.
  657.     Your involvement in the public review process or as a Member or 
  658. Affiliate of the Consortium is welcomed.
  659.     Write to: Bob Scheifler, MIT X Consortium, Laboratory for Computer 
  660. Science, 545 Technology Square, Cambridge, MA 02139.
  661.  
  662. [For complete information see the XCONSORTIUM man page from the X11R4
  663. distribution, from which this information is adapted.] [2/90]
  664.  
  665. ----------------------------------------------------------------------
  666. Subject:  12)  Just what are OPEN LOOK and Motif?
  667.  
  668.     OPEN LOOK and Motif are two graphical user interfaces (GUIs). OPEN LOOK
  669. was developed by Sun with help from AT&T and many industry reviewers; Motif was 
  670. developed by the Open Software Foundation (OSF) with input from many OSF 
  671. members. 
  672.  
  673.     OPEN LOOK is primarily a user-interface specification and style-guide; 
  674. there are several toolkits which can be used to produce OPEN LOOK applications.
  675. Motif includes an API specification; the only sanctioned Motif toolkit is the 
  676. one from OSF. However, there are other toolkits which can be used to produce 
  677. programs which look and behave like OSF/Motif; one of these, ParcPlace's 
  678. (formerly Solbourne's) OI, is a "virtual toolkit" which provides objects in the
  679. style of OPEN LOOK and Motif, at the user's choice.
  680.  
  681.     OPEN LOOK GUI is also the name of a product from AT&T, comprising 
  682. their OPEN LOOK Intrinsics Toolkit and a variety of applications.
  683.  
  684. [Thanks to Ian Darwin, ian@sq.com, 5/91]
  685.  
  686. ----------------------------------------------------------------------
  687. Subject:  13)  Just what is OpenWindows?
  688.  
  689.     Open Windows (3.0) is a Sun product that encompasses: a window system 
  690. that combines a NeWS and X11-compliant server (X/NeWS); a user-interface 
  691. specification (OPEN LOOK) and a series of toolkits that implement it (including
  692. the SunView-like XView and the Xt-based OLIT); Xlib and Xt implementations; and
  693. a number of utilities (olwm window manager, filemgr, shelltool, etc.).
  694.  
  695. [thanks to Frank Greco (fgreco@govt.shearson.COM), 8/90; 4/92] 
  696.  
  697. ----------------------------------------------------------------------
  698. Subject:  14)  Just what is DECWindows?
  699.  
  700.     DECWindows is a DEC product that encompasses: an X11 server; the XUI 
  701. toolkit, including the Dwt widget set and UIL; Xlib and Xt implementations; a 
  702. session manager; and a number of utilities (dxwm window manager, dxcalendar, 
  703. dxpsview, etc.).
  704.  
  705. (At some point Motif flavors of the toolkit and applications will be shipped.)
  706. [8/90] 
  707.  
  708. ----------------------------------------------------------------------
  709. Subject:  15)  What is PEX?
  710.  
  711.     PEX is the "PHiGS Extension to X".
  712.     PHiGS stands for "Programmer's Hierarchical Interactive Graphics 
  713. System" and is essentially a library of functions that simplifies the creation 
  714. and manipulation of 3D graphics. Many platforms are capable of performing in 
  715. hardware the computations involved in rendering 3D objects; the extension 
  716. allows the client (PHiGS in this case) to take advantage of the specialized 
  717. hardware for 3D graphics.
  718.     Sun Microsystems is currently contracted to develop a freely 
  719. redistributable (copyright similar to the current X copyright) sample
  720. implementation.  Source and documentation are available in the R5 release.
  721. Several vendors are currently selling independently-developed PEX servers for 
  722. their workstations and X terminals.
  723.  
  724. [last modified 10/91]
  725.  
  726. ----------------------------------------------------------------------
  727. Subject:  16)  What is "low-bandwidth X" (LBX)? XRemote? PPP? SLIP? CSLIP?
  728.  
  729. There are several options for using X over serial lines:
  730.  
  731. SLIP - Serial Line IP; this is both a mechanism and a protocol for sending IP
  732. packets over point-to-point serial links. It has been around for several years, 
  733. and implementations are available for many of the major TCP/IP implementations.
  734. Most X Terminal vendors supply this as a checkoff item, although nobody really 
  735. ever uses it since it is horribly slow.  The TCP/IP headers add 40 bytes per 
  736. packet and the TCP/IP encoding of the X protocol is rather verbose (rightfully 
  737. so; it is optimized for packing and unpacking over high-speed links). 
  738.  
  739. CSLIP - Compressed header SLIP; this is a variant of SLIP that compresses the 40
  740. bytes of TCP/IP headers down to about 5 or 6 bytes.  It still doesn't do 
  741. anything about reencoding the X protocol.  Modems that do compression can help, 
  742. but they increase packet latency (it takes time to dribble the uncompressed data
  743. through typical serial interfaces, plus the compression assembly time).
  744.  
  745. PPP - Point-to-Point Protocol; this is an emerging standard for point-to-point
  746. links over serial lines that has a more complete set of option negotiation than
  747. SLIP.  A growing number of people see the combination of PPP for the serial line
  748. management and CSLIP for the header compression as becoming common for running 
  749. normal TCP/IP protocols over serial lines.  Running raw X over the wire still 
  750. needs compression somewhere to make it usable.
  751.  
  752. XRemote - this is the name of both a protocol and set of products originally
  753. developed by NCD for squeezing the X protocol over serial lines.  In addition to
  754. using a low level transport mechanism similar to PPP/CSLIP, XRemote removes 
  755. redundancies in the X protocol by sending deltas against previous packets and 
  756. using LZW to compress the entire data stream.  This work is done by either a 
  757. pseudo-X server or "proxy" running on the host or in a terminal server.  There 
  758. are several advantages to doing compression outside the modem:
  759.    (1)    You don't *have* to have compressing modems in there if you wouldn't 
  760.     otherwise be using them (e.g. if you were going to be directly 
  761.     connected), and
  762.    (2)    It reduces the I/O overhead by cutting down on the number of bytes that 
  763.     have to cross the serial interface, and
  764.    (3)    In addition to the effects of #2, it reduces the latency in delivering 
  765.     packets by not requiring the modem to buffer up the data waiting for 
  766.     blocks to compress.
  767.  
  768. LBX - Low Bandwidth X; this is an X Consortium project that is working on a
  769. standard for this area.  It is being chaired by NCD and Xerox and is using NCD's
  770. XRemote protocol as a stepping stone in developing the new protocol.  LBX will 
  771. go beyond XRemote by adding proxy caching of commonly-used information (e.g. 
  772. connection setup data, large window properties, font metrics, keymaps, etc.) and
  773. a more efficient encoding of the X protocol. The hope is to have a Standard 
  774. ready for public review in the first half of next year and a sample 
  775. implementation available in R6.
  776.  
  777. Additional technical information about how XRemote works and a few notes on how
  778. LBX might be different are available via anonymous ftp from export.lcs.mit.edu
  779. in contrib/ in the following files:
  780.         XRemote-slides.ps               slides describing XRemote
  781.         XRemote-LBX-diffs.ps            more slides describing some of LBX
  782.  
  783. [information provided by Jim Fulton, jim@ncd.com; 7/92]
  784.  
  785. ----------------------------------------------------------------------
  786. Subject:  17)  TOPIC: USING X IN DAY-TO-DAY LIFE
  787. ----------------------------------------------------------------------
  788. Subject:  18)! What are all these different window managers?
  789.  
  790.     The window manager in X is just another client -- it is not part of the
  791. X window system, although it enjoys special privileges -- and so there is
  792. no single window manager; instead, there are many which support different ways 
  793. for the user to interact with windows and different styles of window layout,
  794. decoration, and keyboard and colormap focus. In approximate chronological order
  795. (generally, the more recent ones are more conformant with the ICCCM):
  796.  
  797.     wm: this simple title-bar window manager was phased out in R2 or R3
  798.     uwm: the Universal Window Manager is still popular for its speed, 
  799. although it is very outdated. Moved to contrib/ on the R4 tape.
  800.     twm (old): Tom's Window Manager was among the first non-MIT window 
  801. managers and offered the user a great deal of customization options in a
  802. re-parenting window manager. 
  803.     awm: the Ardent Window Manager remains a hotbed for hackers and offers
  804. some features (dynamic menus) not found on more current window managers
  805.     cwm: cwm is part of the Andrew system. 
  806.     rtl: Siemen's window manager tiles windows so that they don't overlap
  807. and resizes the window with the focus to its preferred size.
  808.     dxwm: Digital's dxwm is part of the DECwindows offering
  809.     hpwm: HP's window manager offers a 3D look; it is a precursor of mwm
  810.     mwm: the Motif window manager is part of the OSF/Motif toolkit
  811.     tekwm: Tektronix's window manager offering 
  812.     olwm (Sun): olwm implements the OPEN LOOK GUI and some of the Style
  813. Guide functionality
  814.     olwm (AT&T): ditto
  815.     gwm: Bull's Generic Window Manager emulates others with a built-in
  816. Lisp interpreter. Version 1.7h (10/91) is on the R5 contrib tape; 1.7m is on
  817. avahi.inria.fr and export.lcs.mit.edu. [8/92]
  818.     m_swm: the Sigma window manager is on the R4 tape
  819.     pswm: Sun's PostScript-based pswm is part of the OpenWindows release
  820.     swm: Solbourne's swm is based on the OI toolkit and offers multiple
  821. GUI support and also a panned virtual window; configuration information comes
  822. from the resources file
  823.     twm (new): MIT's new Tab Window Manager from the R4 tape is a reworked
  824. twm and is the basis for several derivatives, including the one on the R5 tape
  825.     vtwm: vtwm offers some of the virtual-desktop features of swm, with a
  826. single-root window implementation; it is based on the R4 twm and is available
  827. on archive servers. A new version, vtwm-5.0, is based on R5.9 and is available 
  828. from export. [3/92]
  829.     tvtwm: Tom's Virtual Tab Window Manager is also based on the R4 twm
  830. and provides a virtual desktop modeled on the virtual-root window of swm. It is
  831. available on archive servers
  832.     olvwm: the vtwm-style virtual-desktop added to Sun's olwm. It is 
  833. available on archive servers; version 3.0 [1/92] is on export.
  834.     mvwm: the vtwm-style virtual-desktop added to OSF's mwm. A beta version
  835. is floating around (most recently from suresh@unipalm.co.uk) but requires a 
  836. source license to OSF/Motif 1.1.3 [3/92].
  837.     NCDwm: the window manager local to NCD terminals offers an mwm look 
  838.     XDSwm: the window manager local to Visual Technology's terminals 
  839.     ctwm: Claude Lecommandeur's (lecom@sic.epfl.ch) modification of the R5 
  840. twm offers 32 virtual screens in the fashion of HP vuewm; source is on export.
  841. Version 2.0 also offers the window overview used in vtwm and tvtwm.
  842.     vuewm: HP's MWM-based window manager offers configurable workspaces.
  843.     4Dwm: SGI's enhanced MWM
  844.  
  845. ----------------------------------------------------------------------
  846. Subject:  19)  Why does my X session exit when I kill my window manager (sic)?
  847.  
  848.     It needn't.  What is probably happening is that you are running your 
  849. window manager as the last job in your .xsession or .xinitrc file; your X 
  850. session runs only as long as the last job is running, and so killing your 
  851. window manager is equivalent to logging out. Instead, run the window manager in
  852. the background, and as the last job instead invoke something safe like:
  853.         exec xterm -name Login -rv -iconic
  854. or any special client of your devising which exits on some user action.
  855. Your X session will continue until you explicitly logout of this window, 
  856. whether or not you kill or restart your window manager.
  857.  
  858. ----------------------------------------------------------------------
  859. Subject:  20)  Can I save the state of my X session, like toolplaces does?
  860.  
  861.     Although no known window manager directly supports such a feature --
  862. which may be equivalent to writing out a .xinitrc or .xsession file naming the
  863. geometry and WM_COMMAND of each application (but olvwm may have something 
  864. close) -- there is a contributed application which does much of what you are 
  865. looking for, although it is not as complete as the SunView program toolplaces. 
  866. Look for the application "xplaces" on an archive-server near you. There are 
  867. several versions of this program floating around; look for a recent vintage.
  868. [10/90]
  869.  
  870. ----------------------------------------------------------------------
  871. Subject:  21)  How do I use another window manager with DEC's session manager?
  872.  
  873.     DEC's session manager will start dxwm up by default. To override this, 
  874. add to your .Xdefaults file something like this line, naming the full pathname:
  875.     sm.windowManagerName:   /wherever/usr/bin/X11/your_favorite_wm
  876.  
  877. ----------------------------------------------------------------------
  878. Subject:  22)  How do I change the keyboard auto-repeat rate?
  879.  
  880.     You can turn auto-repeat on or off by using "xset r on|off". The X
  881. protocol, however, doesn't provide for varying the auto-repeat rate, which is
  882. a capability not supported by all systems.
  883.     Some servers running on systems that support this (the Xsun server from
  884. MIT, for example), however, may provide command-line flags to set the rate at 
  885. start-up time. If you have control over server start-up, you can invoke the
  886. server with the chosen settings. 
  887.  
  888. ----------------------------------------------------------------------
  889. Subject:  23)  How do I remap the keys on my keyboard to produce a string?
  890.  
  891.     There is no method of arranging for a particular string to be
  892. produced when you press a particular key. The xmodmap client, which is useful 
  893. for moving your CTRL and ESC keys to useful places, just rearranges keys and 
  894. does not do "macro expansion."
  895.     Some (few) clients, including xterm and several X-based editors, 
  896. accept a translation resource such as:
  897.     xterm*VT100.Translations: #override \
  898.         <Key>F1: string("setenv DISPLAY unix:0")
  899. which permits the shorthand F1 to be pressed to reset the display locally
  900. within an xterm; it takes effect for new xterm clients. To include control
  901. characters in the string, use \nnn, where nnn is the octal encoding of the
  902. control character you want to include.
  903.     Window managers, which could provide this facility, do not yet; nor
  904. has a special "remapper" client been made available.
  905.  
  906. ----------------------------------------------------------------------
  907. Subject:  24)! How do I make a screendump or print my application?
  908.  
  909.     The xwd client in the X11 distributions can be used to select a window 
  910. or the background. It produces an XWD-format file of the image of that window. 
  911. The file can be post-processed into something useful or printed with the xpr 
  912. client and your local printing mechanism. You can use this command:
  913.         csh% sleep 10; xwd -root > output.xwd &
  914. and then spend 10 seconds or so setting up your screen; the entire current
  915. display will be saved into the file output.xwd. Note that xwd also has an
  916. undocumented (before R5) -id flag for specifying the window id on the 
  917. command-line. [There are also unofficial patches on export to xwd for 
  918. specifying the delay and the portion of the screen to capture.]
  919.  
  920.     Two publicly-available programs which allow interactive definition of 
  921. arbitrary portions of the display and built-in delays are asnap and xgrabsc.
  922. There are several versions of xgrabsc; version 2.2, available on export [8/92]
  923. is the most recent.
  924.     xsnap includes some asnap features and supersedes it; it also renders 
  925. XPM output [version unknown]. It is available on export or avahi.inria.fr;
  926. see xsnap-pl2.tar.Z.
  927.     A screen-dump and merge/edit program combining features of xwd and xpr
  928. is available from vernam.cs.uwm.edu as xdump1.0.tar.Z. Information: 
  929. soft-eng@cs.uwm.edu.
  930.  
  931.     To post-process the xwd output of some of these tools, you can use xpr,
  932. which is part of the X11 distribution. Also on several archives are xwd2ps
  933. and XtoPS, which produce Encapsulated PostScript with trimmings suitable for 
  934. use in presentations (see export.lcs.mit.edu:contrib/xwd2ps.tar.Z and
  935. contrib/ImageMagick.tar.Z). Also useful is the PBMPLUS package on many archive
  936. servers; and the Xim package contains Level 2 color PostScript output.
  937.  
  938.     Also: 
  939.  
  940.     Bristol Technology (info@bristol.com, 203-438-6969) offers Xprinter 
  941. 2.0, an Xlib API for PostScript and PCL printers; a demo is on ftp.uu.net
  942. in vendor/Bristol/Xprinter.
  943.  
  944.     ColorSoft 9619-459-8500) offers OPENprint package includes a screen-
  945. capture facility, image-processing, and support for PostScript and 
  946. non-PostScript printers.
  947.  
  948.     Some vendors' implementations of X (e.g. DECWindows and OpenWindows) 
  949. include session managers or other desktop programs which include "print portion
  950. of screen" or "take a snapshot" options. Some platforms also have tools which 
  951. can be used to grab the frame-buffer directly; the Sun systems, for example, 
  952. have a 'screendump' program which produces a Sun raster file. Some X terminals 
  953. have local screen-dump utilities to write PostScript to a local serial printer. 
  954.  
  955.     Some vendors' implementations of lpr (e.g. Sony) include direct 
  956. support for printing xwd files, but you'll typically need some other package 
  957. to massage the output into a useful format which you can get to the printer.
  958.  
  959. ----------------------------------------------------------------------
  960. Subject:  25)! How do I make a color PostScript screendump of the X display?
  961.  
  962.     If you need color PostScript in particular, you can 
  963.     - grab the screen-image using xgrabsc to begin with, which can produce
  964. color PostScript.  
  965.     - grab the screen-image using xwd and post-process xwd into color PS.
  966. You can do this using xwd2ps or the XtoPS program from the ImageMagick 
  967. distribution. The PBMPLUS package is also good for this, as is the Xim package.
  968.  
  969. ----------------------------------------------------------------------
  970. Subject:  26)  How do I make a screendump including the X cursor?
  971.  
  972.     This can't be done unless the X server has been extended. Consider 
  973. instead a system-dependent mechanism for, e.g.,  capturing the frame-buffer.
  974.  
  975. ----------------------------------------------------------------------
  976. Subject:  27)! How do I convert/view Mac/TIFF/GIF/Sun/PICT/img/FAX images in X?
  977.  
  978.     The likeliest program is an incarnation of Jef Poskanzer's useful++ 
  979. Portable Bitmap Toolkit, which includes a number of programs for converting 
  980. among various image formats. It includes support for many types of bitmaps, 
  981. gray-scale images, and full-color images. PBMPLUS has been updated recently;
  982. the most recent version [12/91] is on export in contrib/pbmplus10dec91.tar.Z.
  983.     Another tool is San Diego Supercomputing Center's IMtools ('imconv' in 
  984. particular), which packages the functionality of PBM into a single binary.
  985. It's available anonymous ftp from sdsc.edu (132.249.20.22).
  986.  
  987.     Useful for viewing some image-formats is Jim Frost's xloadimage, a
  988. version of which is in the R4 directory contrib/clients/xloadimage; there are 
  989. later versions available, including contrib/xloadimage.3.03.tar.Z on export.  
  990. Graeme Gill's updates to an earlier version of xloadimage are also on export; 
  991. see xli.README and xli.tar.Z.uu.
  992.  
  993.     An alternate image-viewer is xv (X Image Viewer), written by 
  994. bradley@cis.upenn.edu (John Bradley). XV displays many image formats and 
  995. permits editing of GIF files, among others. The program was updated 5/92; see 
  996. the file contrib/xv-2.21.tar.Z on export.lcs.mit.edu. 
  997.  
  998.     The Fuzzy Pixmap Manipulation, by Michael Mauldin <mlm@nl.cs.cmu.edu>.
  999. Conversion and manipulation package, similar to PBMPLUS.  Version 1.0 available
  1000. via FTP as nl.cs.cmu.edu:/usr/mlm/ftp/fbm.tar.Z, uunet.uu.net:pub/fbm.tar.Z, 
  1001. and ucsd.edu:graphics/fbm.tar.Z.
  1002.  
  1003.     The Img Software Set, by Paul Raveling <raveling@venera.isi.edu>, reads
  1004. and writes its own image format, displays on an X11 screen, and does some image
  1005. manipulations.  Version 1.3 is available via FTP on expo.lcs.mit.edu as
  1006. contrib/img_1.3.tar.Z, along with large collection of color images.
  1007.  
  1008.     The Utah RLE Toolkit is a conversion and manipulation package similar 
  1009. to PBMPLUS.  Available via FTP as cs.utah.edu:pub/urt-*, 
  1010. weedeater.math.yale.edu:pub/urt-*, and freebie.engin.umich.edu:pub/urt-*.
  1011.  
  1012.     Xim, The X Image Manipulator, by Philip Thompson, does essential 
  1013. interactive displaying, editing, filtering, and converting of images. There is 
  1014. a version in the X11R4 contrib area; but a more recent version (using R4 and 
  1015. Motif 1.1) is available from gis.mit.edu (18.80.1.118). Xim reads/writes gif, 
  1016. xwd, xbm, tiff, rle, xim, (writes level 2 eps) and other formats and also has a
  1017. library and command-line utilities for building your own applications.
  1018.  
  1019.     ImageMagick [2.1b] by cristy@dupont.com can be retrieved from export's
  1020. contrib area. It is a collection of utilities to transform and display images 
  1021. on any X server. The tool uses the MIFF format; filters to and from MIFF from 
  1022. other popular formats (PPM, TIFF, GIF, SUN Raster, etc) are included.
  1023.  
  1024.     xtiff is a tool for viewing a TIFF file in an X window.  It was written
  1025. to handle as many different kinds of TIFF files as possible while remaining
  1026. simple, portable and efficient.  xtiff illustrates some common problems
  1027. with building pixmaps and using different visual classes.  It is distributed
  1028. as part of Sam Leffler's libtiff package and it is also available on
  1029. export.lcs.mit.edu, uunet.uu.net and comp.sources.x. [dbs@decwrl.dec.com,10/90]
  1030. xtiff 2.0 was announced in 4/91; it includes Xlib and Xt versions.
  1031.  
  1032.     A version of Lee Iverson's (leei@McRCIM.McGill.EDU) image-viewing tool
  1033. is available as contrib/vimage-0.9.3.tar.Z on export.lcs.mit.edu.  The package 
  1034. also includes an ImageViewPort widget and a FileDialog widget. [12/91;5/92] 
  1035.  
  1036. [some material from Larry Carroll (larryc@poe.jpl.nasa.gov), 5/91]
  1037.  
  1038. ----------------------------------------------------------------------
  1039. Subject:  28)  How can I change the titlebar of my xterm window?
  1040.  
  1041.     The solution involves sending an escape sequence to xterm which will
  1042. cause it to update the property which the window manager relies upon for the
  1043. string which appears in the window titlebar.
  1044.     A solution is as easy as typing this in an xterm running a shell:
  1045.         echo "ESC]2;TEXT^G"
  1046. where ESC is the escape key, TEXT is the string you wish to have displayed,
  1047. and ^G is a Control-G (the BEL character).
  1048.  
  1049.     Here is a more complicated csh alias which changes the titlebar to
  1050. the current working directory when you change directories:
  1051.         alias newcd 'cd \!*; echo -n ESC]2\;$cwd^G'
  1052.  
  1053.     The digit '2' in these strings indicates to xterm that it should 
  1054. change only the title of the window; to change both the title and the name 
  1055. used in the icon, use the digit '0' instead, and use '1' to change only the 
  1056. icon name.
  1057.  
  1058.     Note: another way to do this, which prevents an incorrect display of
  1059. the local directory if a modified `cd` is used in a subshell, is to wrap the
  1060. escape sequences into the PS1 prompt itself.
  1061.  
  1062.     Note: on an IBM RS/6000 is may be necessary to begin the sequence with
  1063. a ^V.
  1064.  
  1065. ----------------------------------------------------------------------
  1066. Subject:  29)  Where can I find the xterm control sequences?
  1067.  
  1068. The best source of such information is in your R5 sources in the file 
  1069. ctlseqs.ms; a PostScript version is in mit/hardcopy/clients/ctlseqs.PS.Z.
  1070.  
  1071. Other good sources of information include the R4 version of that document
  1072. and also the file in the R4 sources called mit/clients/xterm/ctlseq2.txt, a 
  1073. compilation put together by Skip Montanaro (GE CR&D) listing the VT100 
  1074. sequences. It dates from R3 but is fairly accurate.  A hardcopy version was 
  1075. published in the December 1989 XNextEvent (the XUG newsletter).
  1076.  
  1077. In addition, Volume 3 (User's Guide) of the R4 flavor of the O'Reilly 
  1078. X Window System series contains an appendix listing xterm control sequences;
  1079. it is less accurate than the information in the R5 or R4 sources.
  1080.  
  1081. In a pinch, a VT100 manual will do.
  1082.  
  1083. [last updated 10/91]
  1084.  
  1085. ----------------------------------------------------------------------
  1086. Subject:  30)  Why does the R3 xterm, et al, fail against the R4 server?
  1087.  
  1088.     The value given to a window's do_not_propagate mask is the likely 
  1089. culprit.  R3 allowed bogus values to be set, and early version of both Andrew 
  1090. and InterViews did, as well. Similar problems also occur in the R3 Motif
  1091. PanedWindow widget.
  1092.     If it is impossible to fix client source -- and many systems still ship
  1093. the R3 xterm -- use 'xset bc' to put the X11R4 server into bug-compatibility 
  1094. mode.
  1095.  
  1096. ----------------------------------------------------------------------
  1097. Subject:  31)  How can I use characters above ASCII 127 in xterm ?
  1098.  
  1099.     In order to use special characters such as the o-umlaut, you need to 
  1100. "stty pass8" but also to use a charcell ISO8859 font, such as 
  1101.     XTerm*font:     -*-*-medium-r-normal-*-*-130-*-*-c-*-iso8859-1
  1102.     XTerm*boldfont:    -*-*-bold-r-normal-*-*-130-*-*-c-*-iso8859-1
  1103. [The family is intentionally unspecified in this example.]
  1104.  
  1105. In addition, you may want to set this in your shell:
  1106.     setenv LC_CTYPE iso_8859_1
  1107.  
  1108.         For a given character above 127, you can determine the key to use with 
  1109. the Alt modifier by finding the equivalent character below 127 (try using
  1110. `man ascii`). For example, o-umlaut (v) is Alt-v and the section character (') 
  1111. is Alt-'. 
  1112.  
  1113. [thanks to Greg Holmberg (greg%thirdi@uunet.uu.net) and Stephen Gildea 
  1114. (gildea@expo.lcs.mit.edu); 6/92]
  1115.  
  1116. ----------------------------------------------------------------------
  1117. Subject:  32)  Why are my xterm menus so small?
  1118.  
  1119.     You are probably setting the geometry small accidentally. If you give 
  1120. a resource specification like this:
  1121.         xterm*geometry: 80x24
  1122. then you are asking for all widgets under xterm to have their geometry set to
  1123. 80x24. For the main window, this is OK, as it uses characters for its size. 
  1124. But its popup menus don't; they are in pixels and show up small. To set only
  1125. the terminal widget to have the specified geometry, name it explicitly:
  1126.         xterm*VT100.geometry: 80x24
  1127.  
  1128. ----------------------------------------------------------------------
  1129. Subject:  33)  How can I print the current selection?
  1130.  
  1131.     You could paste it into an xterm after executing the lpr command. 
  1132. However, a program by Richard Hesketh (rlh2@ukc.ac.uk) specifically for 
  1133. manipulating the selection will help; e.g. 
  1134.     % xselection PRIMARY | lpr
  1135. finds the primary selection and prints it. This command can be placed in a 
  1136. window-manager menu or in shell-scripts. xselection also permits the setting of
  1137. the selection and other properties. A version is on export.
  1138.     Also available is ria.ccs.uwo.ca:pub/xget_selection.tar.Z, which can be
  1139. adapted to do this.
  1140.  
  1141. ----------------------------------------------------------------------
  1142. Subject:  34)  How does Xt use environment variables in loading resources?
  1143.  
  1144.     You can use several environment variables to control how resources are 
  1145. loaded for your Xt-based programs -- XFILESEARCHPATH, XUSERFILESEARCHPATH, and 
  1146. XAPPLRESDIR.  These environment variables control where Xt looks for 
  1147. application-defaults files as an application is initializing.  Xt loads at most
  1148. one app-defaults file from the path defined in XFILESEARCHPATH and another from
  1149. the path defined in XUSERFILESEARCHPATH.
  1150.  
  1151.     Set XFILESEARCHPATH if software is installed on your system in such a 
  1152. way that app-defaults files appear in several different directory hierarchies.
  1153. Suppose, for example, that you are running Sun's Open Windows, and you also 
  1154. have some R4 X applications installed in /usr/lib/X11/app-defaults. You could 
  1155. set a value like this for XFILESEARCHPATH, and it would cause Xt to look up 
  1156. app-defaults files in both /usr/lib/X11 and /usr/openwin/lib (or wherever your
  1157. OPENWINHOME is located):
  1158.     setenv XFILESEARCHPATH /usr/lib/X11/%T/%N:$OPENWINHOME/lib/%T/%N
  1159.  
  1160.     The value of this environment variable is a colon-separated list of
  1161. pathnames.  The pathnames contain replacement characters as follows:
  1162.     %T        the literal string "app-defaults" [works only in
  1163.             XFILESEARCHPATH]
  1164.     %N        application class name
  1165.     %C        customization resource (R5 only)
  1166.     %L        language, locale, and codeset (e.g. "ja_JP.EUC")
  1167.     %l        language part of %L  (e.g. "ja") 
  1168.  
  1169.     Let's take apart the example.  Suppose the application's class name is 
  1170. "Myterm". Also, suppose Open Windows is installed in /usr/openwin. (Notice the 
  1171. example omits locale-specific lookup.)
  1172.     /usr/lib/X11/%T/%N        means /usr/lib/X11/app-defaults/Myterm
  1173.     $OPENWINHOME/lib/%T/%N    means /usr/openwin/lib/app-defaults/Myterm
  1174.  
  1175.     As the application initializes, Xt tries to open both of the above 
  1176. app-defaults files, in the order shown.  As soon as it finds one, it reads it 
  1177. and uses it, and stops looking for others.  The effect of this path is to 
  1178. search first in /usr/lib/X11, then in /usr/openwin.
  1179.  
  1180.     Let's consider another example. This time, let's set 
  1181. XUSERFILESEARCHPATH so it looks for the file Myterm.ad in the current working 
  1182. directory, then for Myterm in the directory ~/app-defaults.
  1183.     setenv XUSERFILESEARCHPATH ./%N.ad:$HOME/app-defaults/%N
  1184.  
  1185.     The first path in the list expands to ./Myterm.ad.  The second expands 
  1186. to $HOME/app-defaults/Myterm.  This is a convenient setting for debugging 
  1187. because it follows the Imake convention of naming the app-defaults file 
  1188. Myterm.ad in the application's source directory, so you can run the application
  1189. from the directory in which you are working and still have the resources loaded
  1190. properly.
  1191.  
  1192.     With R5, there's another twist.  You may specify a customization 
  1193. resource value.  For example, you might run the "myterm" application like this:
  1194.     myterm -xrm "*customization: -color"
  1195.  
  1196.     If one of your pathname specifications had the value
  1197. "/usr/lib/X11/%T/%N%C" then the expanded pathname would be
  1198. "/usr/lib/X11/app-defaults/Myterm-color" because the %C substitution character 
  1199. takes on the value of the customization resource.
  1200.  
  1201.     The default XFILESEARCHPATH, compiled into Xt, is:
  1202.         /usr/lib/X11/%L/%T/%N%C:\  (R5)
  1203.         /usr/lib/X11/%l/%T/%N%C:\  (R5)
  1204.         /usr/lib/X11/%T/%N%C:\     (R5)
  1205.         /usr/lib/X11/%L/%T/%N:\
  1206.         /usr/lib/X11/%l/%T/%N:\
  1207.         /usr/lib/X11/%T/%N
  1208.  
  1209.     (Note: some sites replace /usr/lib/X11 with a ProjectRoot in
  1210. this batch of default settings.)
  1211.  
  1212.     The default XUSERFILESEARCHPATH, also compiled into Xt, is 
  1213.         <root>/%L/%N%C:\  (R5)
  1214.         <root>/%l/%N%C:\  (R5)
  1215.         <root>/%N%C:\     (R5)
  1216.         <root>/%L/%N:\
  1217.         <root>/%l/%N:\
  1218.         <root>/%N:
  1219.  
  1220.     <root> is either the value of XAPPLRESDIR or the user's home directory 
  1221. if XAPPLRESDIR is not set.  If you set XUSERFILESEARCHPATH to some value other 
  1222. than the default, Xt ignores XAPPLRESDIR altogether.
  1223.  
  1224.     Notice that the quick and dirty way of making your application find 
  1225. your app-defaults file in your current working directory is to set XAPPLRESDIR 
  1226. to ".", a single dot.  In R3, all this machinery worked differently; for R3 
  1227. compatibilty, many people set their XAPPLRESDIR value to "./", a dot followed 
  1228. by a slash.
  1229.  
  1230. [Thanks to Oliver Jones (oj@pictel.com) and Peter Ware, 8/92]
  1231.  
  1232. ----------------------------------------------------------------------
  1233.  
  1234. David B. Lewis                     faq%craft@uunet.uu.net
  1235.  
  1236.         "Just the FAQs, ma'am." -- Joe Friday 
  1237. -- 
  1238. David B. Lewis        Temporarily at but not speaking for Visual, Inc.
  1239. day: dbl@visual.com    evening: david%craft@uunet.uu.net
  1240.